<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<probiz:pageHeading pageHeadingKey="stockNotifyList.heading" />

<content tag="buttons">
	<probiz:iconBtn btnType="delete" onclick="multiDeleteNotifys();" />
	<probiz:iconBtn btnType="email" btnTextKey="stockNotify.button.sendNotify" onclick="multiSendNotifys();" />
</content>

<div id="entityList">
	<%@include file="include/stockNotifySearchCriteria.jspf"%>
	
	<div id="entityResults" name="entityResults">
		<%--ajaxLoad file="/product/include/stockNotifyListBody.jspf" --%>
		<%@include file="include/stockNotifySearchCriteriaStorage.jspf"%>
	</div>
</div>

<script type="text/javascript"	src="${ctxPath}/scripts/probiz/product/stockNotifyList.js?rs=${appConfig.rs}"></script>
<script type="text/javascript">
$j(document).ready(function () {
	__FMTExtend = {
		stockNotify_noPersonSelect:"<fmt:message key="stockNotify.noPersonSelect"/>"
	};
	$j.extend(__FMT, __FMTExtend); 
});	

	
$j(document).ready(function () {
	<c:choose>
		<c:when test="${not empty param.informStatus}">
			searchEntities(true,{informStatus:${param.informStatus}});
		</c:when>
		<c:otherwise>
			searchEntities(true,'');
		</c:otherwise>
	</c:choose>
});
</script>